package com.wangqinlei.cowims126.service;

import com.wangqinlei.cowims126.pojo.Category;
import com.wangqinlei.cowims126.util.PageBean;

import java.util.List;
import java.util.Map;

/**
 * @Classname ClazzService
 * @Description None
 * @Date 2019/6/26 10:14
 * @Created by WDD
 */
public interface CategoryService {
    PageBean<Category> queryPage(Map<String, Object> paramMap);

    int addCategory(Category category);

    int deleteCategory(List<Integer> ids);

    int editCategory(Category category);

    Category findByName(String categoryName);

}
